<!--
  Generated template for the UserInfoPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
  <ion-navbar  style="opacity: 0.8" no-border-bottom color="primary">
    <ion-title>个人信息</ion-title>
  </ion-navbar>
</ion-header>

<ion-content>
  <ion-list class="top-list">
    <button ion-item (click)="presentActionSheet()">头像
      <ion-avatar item-right>
        <img src="{{user.avatar}}">
      </ion-avatar>
    </button>
    <button ion-item (click)="alterNick()">
      昵称
      <label item-right>
        {{user.nickname}}
      </label>
    </button>
    <button ion-item>
      账号
      <label item-right>
        {{user.user_id}}
      </label>
    </button>
  </ion-list>
  <!--
  <ion-list>
    <button ion-item (click)="altercompany()">
      所属公司
      <label item-right>
        {{user.companyname}}
      </label>
    </button>
  </ion-list>
  -->
</ion-content>
